﻿using System.Collections.Generic;

namespace SimpleMailbox.Model
{
	public class Folder
	{
		public Folder()
		{
			this.ChildFolders = new List<Folder>();
		}

		public int FolderId { get; set; }
		public int? ParentFolderId { get; set; }
		public string Name { get; set; }
		public int NumberOfUnreadedEmails { get; set; }
		public List<Folder> ChildFolders { get; set; }
	}
}